<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SSDP Help: RangeSplitter</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SSDP Help<span id="projectnumber">&#160;2.04.01</span>
   </div>
   <div id="projectbrief">仅供测试</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.3 -->
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',false,false,'search.php','搜索');
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="../../df/d10/struct_range_splitter-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">RangeSplitter</div></div>
</div><!--header-->
<div class="contents">

<p>用于范围分割的类  
 <a href="../../d0/d38/struct_range_splitter.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="../../d8/d44/_binary_range_heap_8h_source.html">BinaryRangeHeap.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a49af1d1e2d2ddfbe4b1c59ba89ced509"><td class="memItemLeft" align="right" valign="top">ATGEOSET_EXPORT bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d38/struct_range_splitter.html#a49af1d1e2d2ddfbe4b1c59ba89ced509">SplitRanges</a> (xvector&lt; <a class="el" href="../../d7/d7f/struct_x_range3d.html">XRange3d</a> &gt; const &amp;srcRange, int axisSelect, xvector&lt; int &gt; &amp;leftCenterRight, size_t &amp;numLeft, size_t &amp;numCenter, size_t &amp;numRight)</td></tr>
<tr class="memdesc:a49af1d1e2d2ddfbe4b1c59ba89ced509"><td class="mdescLeft">&#160;</td><td class="mdescRight">确定左、中心和右范围的分配，以最大化{(1 + numLeft)(1 + numRight)(1 + numCenter)} @detail  <a href="../../d0/d38/struct_range_splitter.html#a49af1d1e2d2ddfbe4b1c59ba89ced509">更多...</a><br /></td></tr>
<tr class="separator:a49af1d1e2d2ddfbe4b1c59ba89ced509"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a242a0927fb0c84c931112f3b61661e4d"><td class="memItemLeft" align="right" valign="top">static ATGEOSET_EXPORT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d38/struct_range_splitter.html#a242a0927fb0c84c931112f3b61661e4d">GetSelectedRangeStatistics</a> (xvector&lt; <a class="el" href="../../d7/d7f/struct_x_range3d.html">XRange3d</a> &gt; const &amp;srcRange, xvector&lt; int &gt; const &amp;srcSelector, int selector, size_t &amp;numSelected, <a class="el" href="../../d7/d7f/struct_x_range3d.html">XRange3d</a> &amp;selUnion, <a class="el" href="../../d7/d7f/struct_x_range3d.html">XRange3d</a> &amp;selIntersection)</td></tr>
<tr class="memdesc:a242a0927fb0c84c931112f3b61661e4d"><td class="mdescLeft">&#160;</td><td class="mdescRight">扫描sourceSelectors数组，对于匹配选择器的每项，更新选中个数、并集和交集  <a href="../../d0/d38/struct_range_splitter.html#a242a0927fb0c84c931112f3b61661e4d">更多...</a><br /></td></tr>
<tr class="separator:a242a0927fb0c84c931112f3b61661e4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:a1087a650fc3ff6d097f81b209748b10b"><td class="memItemLeft" align="right" valign="top"><a id="a1087a650fc3ff6d097f81b209748b10b" name="a1087a650fc3ff6d097f81b209748b10b"></a>
xvector&lt; DoubleSizeSize &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>sortArray</b></td></tr>
<tr class="separator:a1087a650fc3ff6d097f81b209748b10b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p >用于范围分割的类 </p>
<dl class="section author"><dt>作者</dt><dd>SZEWC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/27 </dd></dl>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a242a0927fb0c84c931112f3b61661e4d" name="a242a0927fb0c84c931112f3b61661e4d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a242a0927fb0c84c931112f3b61661e4d">&#9670;&nbsp;</a></span>GetSelectedRangeStatistics()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static ATGEOSET_EXPORT void RangeSplitter::GetSelectedRangeStatistics </td>
          <td>(</td>
          <td class="paramtype">xvector&lt; <a class="el" href="../../d7/d7f/struct_x_range3d.html">XRange3d</a> &gt; const &amp;&#160;</td>
          <td class="paramname"><em>srcRange</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">xvector&lt; int &gt; const &amp;&#160;</td>
          <td class="paramname"><em>srcSelector</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>selector</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t &amp;&#160;</td>
          <td class="paramname"><em>numSelected</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d7/d7f/struct_x_range3d.html">XRange3d</a> &amp;&#160;</td>
          <td class="paramname"><em>selUnion</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d7/d7f/struct_x_range3d.html">XRange3d</a> &amp;&#160;</td>
          <td class="paramname"><em>selIntersection</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>扫描sourceSelectors数组，对于匹配选择器的每项，更新选中个数、并集和交集 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">xvector</td><td>&lt;XRange3d&gt; const &amp; sourceRange </td></tr>
    <tr><td class="paramname">xvector&lt;int&gt;</td><td>const &amp; sourceSelector </td></tr>
    <tr><td class="paramname">int</td><td>selector </td></tr>
    <tr><td class="paramname">size_t</td><td>&amp; numSelected </td></tr>
    <tr><td class="paramname"><a class="el" href="../../d7/d7f/struct_x_range3d.html" title="三维范围盒">XRange3d</a></td><td>&amp; selectedUnion </td></tr>
    <tr><td class="paramname"><a class="el" href="../../d7/d7f/struct_x_range3d.html" title="三维范围盒">XRange3d</a></td><td>&amp; selectedIntersection </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/27 </dd></dl>

</div>
</div>
<a id="a49af1d1e2d2ddfbe4b1c59ba89ced509" name="a49af1d1e2d2ddfbe4b1c59ba89ced509"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a49af1d1e2d2ddfbe4b1c59ba89ced509">&#9670;&nbsp;</a></span>SplitRanges()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATGEOSET_EXPORT bool RangeSplitter::SplitRanges </td>
          <td>(</td>
          <td class="paramtype">xvector&lt; <a class="el" href="../../d7/d7f/struct_x_range3d.html">XRange3d</a> &gt; const &amp;&#160;</td>
          <td class="paramname"><em>srcRange</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>axisSelect</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">xvector&lt; int &gt; &amp;&#160;</td>
          <td class="paramname"><em>leftCenterRight</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t &amp;&#160;</td>
          <td class="paramname"><em>numLeft</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t &amp;&#160;</td>
          <td class="paramname"><em>numCenter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t &amp;&#160;</td>
          <td class="paramname"><em>numRight</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>确定左、中心和右范围的分配，以最大化{(1 + numLeft)(1 + numRight)(1 + numCenter)} @detail </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">xvector&lt;XRange3d&gt;</td><td>const &amp; sourceRange </td></tr>
    <tr><td class="paramname">int</td><td>axisSelect </td></tr>
    <tr><td class="paramname">xvector&lt;int&gt;</td><td>&amp; leftCenterRight </td></tr>
    <tr><td class="paramname">size_t</td><td>&amp; numLeft </td></tr>
    <tr><td class="paramname">size_t</td><td>&amp; numCenter </td></tr>
    <tr><td class="paramname">size_t</td><td>&amp; numRight </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>bool</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/27 </dd></dl>

</div>
</div>
<hr/>该结构体的文档由以下文件生成:<ul>
<li>D:/doxy/PublicAPI/ATGeometrySet/<a class="el" href="../../d8/d44/_binary_range_heap_8h_source.html">BinaryRangeHeap.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3
</small></address>
</body>
</html>
